package com.ad.pet.app.account.adapter;

import android.support.annotation.Nullable;
import android.text.Html;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ad.pet.R;

import java.util.List;

/**
 * Created by SEELE on 2019/6/14.
 */

public class WithDawerCountAdapter extends BaseQuickAdapter<String,BaseViewHolder> {
    public WithDawerCountAdapter(@Nullable List<String> data) {
        super(R.layout.item_accout_has_cash,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        TextView tvTab= helper.getView(R.id.tv_time);
        tvTab.setText(Html.fromHtml(item));
    }
}
